home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 376-400 / disk_376 / matrix / src / pal / a.c next >
C/C++ Source or Header  |  1992-05-06  |  2KB  |  72 lines

  1.  #include <exec/types.h>
  2.  #include <proto/tool.h>
  3.  #include <proto/dos.h>
  4.  #include <intuition/intuitionbase.h>
  5.  #include <proto/mathieeedoubbas.h>
  6.  #include <proto/mathieeedoubtrans.h>
  7.  #include <stdio.h>
  8.  #include <string.h>
  9.  #include <stdlib.h>
  10.  
  11.  #define YSCREEN 256
  12.  #define LINE1    15
  13.  #define LINE2    96
  14.  #define LINE3    230
  15.  #define ABSTAND    10
  16.  #define ABSTANDL    10
  17.  
  18.  VOID NeueZahl(SHORT AlteZeile,SHORT AlteSpalte);
  19.  VOID Loeschen(VOID);
  20.  VOID Mark(SHORT x,SHORT y);
  21.  VOID Darstellen(SHORT y,SHORT L);
  22.  VOID Eingabebereich(VOID);
  23.  SHORT MLoesen(VOID);
  24.  SHORT Tauschen(SHORT k);
  25.  SHORT NullSpalte(SHORT k); /* 1 wenn alles null */
  26.  SHORT Loesen(VOID);
  27.  VOID  _main(VOID);
  28.  SHORT oeffne(VOID);
  29.  VOID  ende(VOID);
  30.  VOID  Events(VOID);
  31.  VOID NeueWerte(VOID);
  32.  SHORT is_empty(char Zeichen);
  33.  VOID  ZahlEinlesen(char *String, BPTR Eingabe);
  34.  VOID Werte_Laden(char *Name);
  35.  VOID Werte_Speichern(char *Name);
  36.  VOID About(VOID);
  37.  SHORT FileRequest(struct Window *Window,
  38.                    char *ReqText,
  39.                    SHORT x,
  40.                    SHORT y,
  41.                    char *Ziel);
  42.  
  43.  DOUBLE ZahlW;
  44.  DOUBLE Zeile[20];
  45.  DOUBLE MatrixE[20][20];
  46.  DOUBLE MatrixL[20][20];
  47.  DOUBLE MatrixA[20][20];
  48.  DOUBLE MatrixA[20][20];
  49.  
  50.  struct IntuitionBase  *IntuitionBase;  /* Zeiger auf IntuitionBase   */
  51.  struct GfxBase        *GfxBase;        /* Zeiger auf Grafik-Library  */
  52.  struct ToolBase       *ToolBase;
  53.  struct Library        *MathIeeeDoubTransBase;
  54.  struct Library        *MathIeeeDoubBasBase;
  55.  struct Window         *Window2;
  56.  struct Window         *Window;         /* Zeiger auf Fenster         */
  57.  struct RastPort       *RastPort;       /* Zeiger auf RastPort        */
  58.  struct Screen         *Screen;         /* Zeiger auf Screen          */
  59.  struct info           msgInfo;
  60.  struct NewWindow      Fenster2,Fenster3;
  61.  
  62.  char NULLSpalte[20];
  63.  char ZahlenWert[20];
  64.  char Gleichungen[4],Variablen[4];
  65.  
  66.  LONG Zeilen,MZeilen;
  67.  LONG Spalten,MSpalten;
  68.  LONG Breite,Hoehe;
  69.  
  70.  SHORT AlteZeile,NeueZeile,AlteSpalte,NeueSpalte;
  71.  
  72.